package com.chartboost.sdk.impl;

import java.util.Iterator;
import java.util.List;

class ab extends aa
{
  private bd<af> a = new bd();

  void a(Class paramClass, af paramaf)
  {
    this.a.a(paramClass, paramaf);
  }

  public void a(Object paramObject, StringBuilder paramStringBuilder)
  {
    Object localObject = x.a(paramObject);
    if (localObject == null)
    {
      paramStringBuilder.append(" null ");
      return;
    }
    af localaf = null;
    Iterator localIterator = bd.a(localObject.getClass()).iterator();
    do
    {
      if (!localIterator.hasNext())
        break;
      Class localClass = (Class)localIterator.next();
      localaf = (af)this.a.a(localClass);
    }
    while (localaf == null);
    if ((localaf == null) && (localObject.getClass().isArray()))
      localaf = (af)this.a.a([Ljava.lang.Object.class);
    if (localaf == null)
      throw new RuntimeException("json can't serialize type : " + localObject.getClass());
    localaf.a(localObject, paramStringBuilder);
  }
}

/* Location:           E:\android\Toy Defense 2_dex2jar.jar
 * Qualified Name:     com.chartboost.sdk.impl.ab
 * JD-Core Version:    0.6.2
 */